Any best practice for: You’ve got 10K+ (id, name) records in PostgreSQL, and need real-time autocomplete in a Laravel + Vue app. User types 3+ characters, and you must return fast, approximate-matching suggestions (10–15 results). #code
🧵
@nicodevs@typesense The next milestone would be to test it with 260K records and monitor the usage of memory. Also I'm the search duration will be more longer than current one.
@nicodevs@typesense First, I exposed the @typesense as a sub domain sth https://t.co/91wfps2CSI but the DNS, TLS ... resulted to increase the latency. While it was in the same server, removed the those extra stuff and backed directly connected to search search. Amazing so far.
Any best practice for: You’ve got 10K+ (id, name) records in PostgreSQL, and need real-time autocomplete in a Laravel + Vue app.
User types 3+ characters, and you must return fast, approximate-matching suggestions (10–15 results). #code
🧵
Onboarding a new teammate?
First, ask them to follow existing patterns — don’t try to change things right away. Once they understand the flow, then they can suggest improvements. Stability first, innovation second. #DevWisdom#Teamwork
Tried replacing a 1.5V battery with direct current from USB. Wired everything, but failed to drop 5V to 1.5V using just resistors and an LED. Ended up frying the device — guess I’m buying a new one. #VoltageDrop