2 ms·
As someone who wrote a lot of CGI, it was definitely not the same at all as microservices or serverless. That was the earliest mainstream way to do server-side
by tootie 6y ago
As someone who wrote a lot of CGI, it was definitely not the same at all as microservices or serverless. That was the earliest mainstream way to do server-side programming for the web, but none of the modern design principles were applied.
- snazz 6y agoYeah, I'm not sure where the comparison comes from. CGI usually meant one script per page, which only bears a slight resemblance to microservices. It doesn't really have anything to do with service encapsulation or API consistency. AWS Lambda and other serverless function things seem a little more like CGI scripting, but the way that each one was designed and used differs immensely. You might have been able to approximate serverless functions with CGI scripts, but I don't think that people did that.
- deleted 6y ago[deleted]