Re:How not to structure database-backed web apps: performanc...
by sut-123 on Wednesday July 04, 2018 @04:12PM
(#17459232)
Your example sounds interesting, could you explain more
[ Parent
| on HN ]
Re:How not to structure database-backed web apps: performanc...
by soberhoff on Friday July 13, 2018 @09:15AM
(#17522642)
Are you familiar with Java? If you use just `"foo"`, then the string will be interned and reused. If you use `new String("foo")`, each call creates a new copy on the heap. This call was inside a very hot loop, thus eating almost all the application's runtime.