dunno if anyone uses #memcached, but i need some #help please. I wrote an app that does several read and write calls to memcache, where i use an async library called emcache and i wrote a simple wrapper to pass key and/or value to read and/or write to memcached. This ran fine until I had to scale it up to much higher load. Now the same code is causing memcached to become unresponsive with "too many open files" errors. This is on Ubuntu 20.04. What are my options on OS side, before changing code?
@redknitin @hejsna ohh I didn't mean to imply that #memcached is dead, sorry if that was the perception.
The rationale was more about what was supported out of the box by #rails 15 years ago, which was Memcached. That derived to #heroku having #Redis more on #sidekiq and Memcached to Rails cache server. When Rails added support for Redis (6 years ago) more people went for Redis to be the cache layer, but it seems like Heroku didn't follow along.
Yes, Memcached is still a good caching option.
#memcached #rails #heroku #redis #sidekiq
RT @vermaden
New 𝗦𝗶𝗺𝗽𝗹𝗲 𝗙𝗿𝗲𝗲𝗕𝗦𝗗 𝗣𝗼𝘂𝗱𝗿𝗶𝗲𝗿𝗲 𝗛𝗮𝗿𝘃𝗲𝘀𝘁𝗲𝗿 𝗚𝘂𝗶𝗱𝗲 (Simple FreeBSD Poudriere Harvester Guide) on http://vermaden.wordpress.com blog.
😈 https://vermaden.wordpress.com/2023/04/30/simple-freebsd-poudriere-harvester-guide/
#ccache #desktop #freebsd #jails #memcached #packages #ports #repo #repos #repository
#ccache #desktop #freebsd #jails #memcached #packages #ports #repo #repos #repository
🚀 Speed up WordPress with Memcached on Opalstack: https://community.opalstack.com/d/1171-speed-up-wordpress-with-memcached
#WordPress #memcached #tips #tutorial
Unlike centralized social media platforms that use Transmission Control Protocol (TCP) or Hypertext Transfer Protocol (HTTP), Mastodon uses open-source technologies such as Django, PostgreSQL, and Memcached for data storage and retrieval. This allows for greater transparency and community involvement in the development and improvement of the platform.
#opensource #django #postgresql #memcached #mastodon
Today's lesson: #Redis has a lot of management overhead when operated in cluster mode. Switching to #Memcached next monday, as it seems to scale a lot easier.
A couple of things I've learned from my #WordPress container tinkering:
WP really does not like it if you run it on port 8080 or any non-standard port as wp-cron will not work that way.
If you use an object caching service (I use a separate #Memcached service), then the frontend bits stay online even if you take the database down.
Using ENV and ARG in #Docker bakes those into the Docker image that you'll end up with, so it's bad for credentials.
#Kubernetes is neat, actually.
#wordpress #memcached #docker #kubernetes
In-memory caching requires data type selection, invalidation logic, testing, infra deployment and observability. Join us to learn how http://PolyScale.ai provides a true plug-and-play alternative. Sign up here: https://us02web.zoom.us/webinar/register/WN_6F1Q5plJRAm2kFl01uikJg #redis #memcached
@matthewcassinelli I don’t have a dev recommendation, but as a fellow #WordPress user these are the things I did on my own:
• Get a #CDN (content delivery network) to deliver cached pages closer to visitors. I use #Cloudflare’s free plan.
• Set up a local caching plug-in. I use WP Super Cache.
• Set up an object cache like #Redis or #Memcached along with an associated plug-in. I use Memcached Object Cache.
Basically, any dynamically-generated site lives and dies by its #caching.
#wordpress #cdn #cloudflare #redis #memcached #caching
Memcrached - ataki za pomocą memcached ( https://nfsec.pl/ai/6053 ) #memcached #ddos #dos #udp #linux #security #twittermigration
#memcached #ddos #dos #udp #linux #security #twittermigration
On the other end of the spectrum we could set up like this, with everything in separate boxes:
1. #CloudArmor as a WAF
2. A #CDN
3. #nginx as a reverse proxy.
4. #Vertx as an HTTP server.
5. #Memcached for caching
6. #RabbitMQ as a queue system.
7. Vertx EventBus as a controller.
8. Verticles as processors, run on a cluster.
9. #PSQL for a database and post store
10. #GCS for media storage and backups.
11. #Solr for search.
12. #ZooKeeper for coordination of Solr an Vertx.
4/
#cloudarmor #cdn #nginx #vertx #memcached #rabbitmq #psql #GCS #solr #Zookeeper
L'architecture de #Memcached by @hnasr@twitter.activitypub.actor https://link.medium.com/Im64qeWplvb
Using this tool the first practical #Perl extension on CPAN (possibly anywhere?) written in #Rust that I am aware of is Memcached::RateLimit. #FFI #RustLang #Memcached
https://metacpan.org/pod/Memcached::RateLimit
#perl #rust #ffi #rustlang #memcached
Using this tool the first practical #Perl extension on CPAN (possibly anywhere?) written in #Rust that I am aware of is Memcached::RateLimit. #FFI #RustLang #Memcached
https://metacpan.org/pod/Memcached::RateLimit
#perl #rust #ffi #rustlang #memcached
groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
#libraries #cache #caching #go #memcached
Amazon ElastiCache now supports Internet Protocol Version 6 (IPv6) - https://aws.amazon.com/about-aws/whats-new/2022/11/amazon-elasticache-supports-ipv6/
Found an interesting project claiming considerable performance improvements over #redis / #memcached.
https://github.com/dragonflydb/dragonfly
#dragonflydb
#redis #memcached #dragonflydb
* Wordpress m’a (presque) tueR *
Comme #wordpress n'est vraiment pas gentil avec nos serveurs de base de données, on a mis en place un cluster #redis & #memcached pour les sites de nos adhérent⋅es, c'est cadeau !
https://www.infini.fr/wordpress-m-a-presque-tuer
Cadeau bonux ! Cela nous a permis de brancher notre instance #nextcloud sur redis afin de régler une bonne fois pour toute le problème de déconnexion intempestive dont elle souffrait jusqu’ici :)
#chatons #nextcloud #memcached #redis #wordpress
#ampache can #cache a lot of data into PHP arrays speeding up the site. But when you use fpm you have to cache for each process!
I've tried #redis and #memcached but what I'm really looking for is something like redis sets where I can store sub-arrays of keyed data.
[Examples](object123, (name, rating, etc, etc))
What are the options?
#memcached #ampache #cache #redis