GyaanSetu WebDev

Frontend, backend and devops for the modern web.

244 articlesDeep, practical knowledge

2 ஆயிரம் பயனர்கள் இருக்கும்போது உங்கள் ஆப் ஏன் முடங்குகிறது: ஒவ்வொரு கோரிக்கையுக்கும் CPU மற்றும் RAM இடையிலான போராட்டம்

சில ஆயிரம் பயனர்கள் பயன்பாட்டைத் தொடங்கும்போது, ஒவ்வொரு கோரிக்கையும் தனக்கென ஒரு குறிப்பிட்ட அளவு CPU மற்றும் RAM-ஐப் பயன்படுத்துகிறது, இது பதிலளிக்கும் நேரத்தை அதிகரிக்கும் ஒரு வரிசையை உருவாக்குகிறது. இந்தத் தாமதம் குறியீட்டில் உள்ள குறைபாடு அல்ல—இது வரையறுக்கப்பட்ட வளங்கள் இடத்திற்காகப் போராடுவதால் ஏற்படுகிறது.

WebDev · 4 min read

Google-to-Microsoft Migration Can Cost Millions if You Miss These Hidden Traps

A successful Google Workspace to Microsoft 365 migration requires a full inventory of every workload, correctly scoped OAuth service accounts, tools that handle Gmail labels without duplicating messages, automatic Graph API throttling management, and a staged bulk-plus-delta cutover to shrink downti

WebDev · 3 min read

.NET 8 TimeProvider Slashes Retry Test Time From 7 s to 36 ms

By injecting .NET 8’s TimeProvider and clearing xUnit’s SynchronizationContext, a seven-second retry-logic test now finishes in about 36 ms, eliminating idle sleeps and shrinking CI pipelines without any production overhead.

WebDev · 3 min read

AI மூலம் உருவாக்கப்படும் ஃபிஷிங் அச்சுறுத்தல்கள், அனைவரும் இணையப் பாதுகாப்பு அடிப்படைகளைக் கற்க வேண்டிய கட்டாயத்தை ஏற்படுத்துகின்றன.

ஜெனரேட்டிவ்-AI மாதிரிகள் எவ்வாறு பிழையற்ற ஃபிஷிங் மின்னஞ்சல்களை எழுதி, ஒரு குறிப்பிட்ட பாதுகாப்புப் பிரச்சனையை அன்றாட அச்சுறுத்தலாக மாற்றுகின்றன என்பதை இந்தக் கட்டுரை விளக்குகிறது. மேலும், பயனர்கள் வெறும் தொழில்நுட்ப அறிவை மட்டும் நம்பியிருக்காமல், பகுத்தறியும் திறனையும் வளர்த்துக்கொள்ள வேண்டும் என்று இது வலியுறுத்துகிறது.

WebDev · 4 min read

CLI and VS Code Extensions Let Claude Agents Upload Files—Desktop App Won’t

The desktop client isolates the agent’s file system view, rejecting uploads unless files meet a hidden “shared” criterion. Running the agent via CLI or the VS Code extension sidesteps the issue, while the only working hack—pasting from the clipboard—clears the user’s clipboard and is Windows-only.

WebDev · 3 min read

Next.js Server Actions Let You Drop API Routes for Simple Forms

By marking a function with "use server" and wiring it to a form’s action attribute, developers can submit data straight to the backend without a fetch call, eliminating separate API route files and reducing client-side code.

WebDev · 3 min read

Next.js Soft 404s Drain Crawl Budget and Trigger SEO Penalties

Google Search Console flags pages that return 200 OK with no content as soft 404s. In Next.js, dynamic routing without proper data checks makes this common, wasting crawl budget, hurting rankings, and spiking bounce rates.

WebDev · 3 min read

PostgreSQL Migration-ன் போது தவறுதலாக Function நகலெடுக்கப்பட்டது, இதனால் Production API முடங்கியது

ஒரு டெவலப்பர் CREATE OR REPLACE FUNCTION மூலம் ஒரு optional argument-ஐ சேர்த்தார், ஆனால் PostgreSQL அதை overwrite செய்வதற்குப் பதிலாக ஒரு புதிய overload-ஐ உருவாக்கியது. இந்த இரட்டை வரையறை "function is not unique" என்ற பிழையை ஏற்படுத்தியது, இது நேரடி API-லிருந்து 400 response-ஆக வெளிப்பட்டது.

WebDev · 3 min read

Asyncio பணிகள் சேமிக்கப்படாதபோது Production சூழலில் காணாமல் போகின்றன – ஒரு Set மூலம் சரிசெய்யுங்கள்

Production சூழலில், asyncio.create_task மூலம் உருவாக்கப்படும் 'fire-and-forget' பணிகளுக்கு நீங்கள் ஒரு reference-ஐ வைத்திருக்கவில்லை என்றால், Python-ன் garbage collector அவற்றை நீக்கிவிடக்கூடும். இது "Task was destroyed but it is pending!" போன்ற பிழைகளுடன் கூடிய, கண்டறிய முடியாத தோல்விகளுக்கு (silent failures) வழிவகுக்கும்.

WebDev · 2 min read

Dynamic Icon Import Crashed a WSL2 Dev Server, Eating 3.6 GB RAM

A Next.js 16 project using Turbopack imported an icon package with ~9,000 modules. Turbopack built a full in-memory module map, hitting the .wslconfig RAM cap and freezing vmmemWSL, forcing a hard Windows shutdown despite the cap.

WebDev · 4 min read

SearchValues 32 MB பஃபர்களில் ஸ்கேன் நேரத்தை 3.3 ms ஆகக் குறைக்கிறது – IndexOfAny-ஐ விட 1.7 மடங்கு வேகமானது

SearchValues உண்மையில் பலன் தரும்போது, மக்கள் SearchValues<T-ஐ ஒரு 'cheat code' என்று அழைக்கிறார்கள். இது ஸ்ட்ரிங் ஸ்கேனிங்கை ஐந்து மடங்கு வேகமாக்குகிறது என்று அவர்கள் கூறுகிறார்கள். நான் IndexOfAny-ஐப் பயன்படுத்தும் ஒரு லாக் பார்சரை (log parser) பராமரிக்கிறேன். நான்...

WebDev · 3 min read