If you’re intending to use the SDFAT library for your project, you could ping @whg if he could suggest a way to hook your writer up with the SPI DMA access he’s using in his library.
That way you could keep your buffer (which I wouldn’t necessarily allocate on the heap) as small as possible.
StreamClass is a base/ancestor class used for all kinds of classes e.g. Serial, Serial1, HTTPClient, …
This doesn’t mean you’d need to provide an uninterrupted stream of bits comming to have it work properly (see Serial.print()).
Granted, there are timeouts for some of them, but a few milliseconds usually don’t matter - most (if not all) of them are asynchronous streams where timing is not a big issue.
@Suprazz Will this webpage just have data or will it update certain data live from the sensor inputs?
It sounds interesting; I ended up using SD card in my project instead of SPIFFS, so if you get this working with SD cards let me know.
Also, I would like to see what the webpage looks like once you have it completed if you can share. It just gives me a better idea of what all is possible with the Photon's WiFi