
DevSecOps Building @DhanHQ at @RaiseTheBarHQ
Thane
Joined June 2014
- Tweets5.4K
- Following2.3K
- Followers2.1K
- Likes7.1K
Stripe Billing offers usage-linked pricing at 0.7% of billing volume and annual subscriptions with volume tiers. For a SaaS tool, those two plans let customers choose between low commitment and a more predictable bill. stripe.com/billing/pricing
🤖 Made with AI
16
If Kubernetes keeps restarting a slow-starting container, add a startup probe. Kubernetes waits for it to pass before running liveness and readiness checks. Set its failure window to cover measured cold starts. kubernetes.io/docs/concepts/…
🤖 Made with AI
36
If model loading dominates your local Ollama latency, set keep_alive on /api/chat. Use "10m" for bursts of requests, or 0 to free model memory after each response. Compare the first request with the next one to see the trade-off. docs.ollama.com/faq
🤖 Made with AI
69
Render’s free web services spin down after 15 minutes without HTTP requests or WebSocket messages. For a product with sporadic traffic, measure the first request after idle before promising a response time. render.com/docs/free
🤖 Made with AI
40
If an SQS job might outlast its visibility timeout, extend the lease with ChangeMessageVisibility while it runs. Keep the worker idempotent: SQS can still deliver duplicates. docs.aws.amazon.com/AWSSimpl…
🤖 Made with AI
1
49
Debugging a Transformers pipeline? Pin device="cpu" for a reproducible CPU baseline, or device=0 to target the first GPU. If you leave device unset, current Transformers picks an available accelerator automatically. huggingface.co/docs/transfor…
🤖 Made with AI
1
47
Patreon's standard plan takes 10% of creator payments plus processing fees. For USD card payments, the fixed $0.30 processing charge alone is 6% of a $5 membership and 1.5% of a $20 membership. Small tiers carry a higher fee burden. support.patreon.com/hc/en-us…
🤖 Made with AI
48
If an EC2 container stops receiving metadata after enforcing IMDSv2, check the response hop limit. AWS recommends 2 for container environments that need IMDS. Keep tokens required and restrict metadata access where it isn't needed. docs.aws.amazon.com/AWSEC2/l…
🤖 Made with AI
31
vLLM's level 1 sleep mode moves model weights to CPU RAM and drops the KV cache, freeing GPU memory between inference jobs. Enable sleep mode explicitly and budget enough host RAM to hold the weights. docs.vllm.ai/en/latest/featu…
🤖 Made with AI
1
1
59
Shopify's usage-based app subscriptions can cap merchant charges within a 30-day cycle. A spending ceiling gives customers budget control while allowing app developers to charge for actual usage. shopify.dev/docs/apps/launch…
🤖 Made with AI
47
CloudWatch Logs Insights can use field indexes for equality and IN filters, but not LIKE. Index a frequently searched requestId to reduce scanned data. Indexes apply to newly ingested events. docs.aws.amazon.com/AmazonCl…
🤖 Made with AI
43
For overnight evaluations or bulk classification, OpenAI's Batch API offers a 50% discount versus synchronous requests. It uses a 24-hour completion window, so keep interactive workloads on the regular API. developers.openai.com/api/do…
🤖 Made with AI
32
GitHub Actions offers free standard hosted runners for public repositories, while private repos have a plan-based compute allowance. This lets developers adopt CI openly while commercial workloads can generate usage revenue. docs.github.com/en/actions/c…
🤖 Made with AI
27
Before tightening an IAM role, use Access Analyzer policy generation to review up to 90 days of CloudTrail activity. Treat the generated policy as a starting point: rare operations may be missing, so review and test before deployment. docs.aws.amazon.com/IAM/late…
🤖 Made with AI
1
155
Transformers supports speculative decoding via generate(assistant_model=...). A small model drafts tokens and the main model checks them together. Use a much smaller assistant with the same tokenizer; benchmark latency on your workload. huggingface.co/docs/transfor…
🤖 Made with AI
60
AWS Marketplace lets SaaS vendors sell a fixed contract with metered charges for extra usage. A builder can offer customers predictable baseline spend while charging for growth beyond the purchased allowance. docs.aws.amazon.com/marketpl…
🤖 Made with AI
30
Before deleting an RDS instance, take a final snapshot if you need a durable restore point. Retained automated backups eventually expire under the existing retention policy; manual snapshots remain until deleted. docs.aws.amazon.com/AmazonRD…
🤖 Made with AI
23
Transformers lets you load models with BitsAndBytesConfig(load_in_8bit=True). LLM.int8 handles large activation outliers in FP16, so benchmark memory and output quality on your own workload. huggingface.co/docs/transfor…
🤖 Made with AI
Stripe retains the original processing fees when a payment is refunded. For a startup, a fully refunded sale can still carry payment costs, so model refunds in contribution margin rather than treating them as zero-cost reversals. support.stripe.com/questions…
🤖 Made with AI
1
36
With EBS gp3, 3,000 IOPS and 125 MiB/s are included in the storage price. You can provision extra performance without buying unnecessary capacity, within volume and instance limits. Check both IOPS and throughput before migrating. docs.aws.amazon.com/prescrip…
🤖 Made with AI
40



















