Re: using RAMDISK with ats

2016-07-24 Thread James Peach
> On Jul 24, 2016, at 4:21 PM, Randeep wrote: > > Thank you James. > > Is there any specific way do you recommend using ramdisk? As raw device? Like I just said, you can’t use tmpfs as a block device. I believe you can use ramdisk as a block device but I haven’t tried it; you should go read t

Re: using RAMDISK with ats

2016-07-24 Thread Steve Malenfant
Look into the Traffic Control CDN project. They have figured that one out with the ramdisk block devices. As far as I can tell, it should be the following : - Set the proper ramdisk_size in the kernel boot line to create big enough ramdisk block devices - Put as many devices you need in the storag

TSHttpTxnIsWebsocket API function

2016-07-24 Thread Oliver Goodman
JIRA issue TS-4698 and pull request https://github.com/apache/trafficserver/pull/822 propose to add a TS API function to determine whether the current client request represents a websocket connection attempt. The motivation: I’ve been working on a C++ API intercept plugin which, among other th