توضیحات
Book Description
Do you know how your web server opens a socket, binds to an address, and accepts a connection? I did a lot of web programming before I had enough knowledge to dig in and figure this stuff out. I knew that other developers had a better grasp on the full stack than I did, but diving deep under the hood is one of the things that really made me a better developer all around.
I recently read a great thread that asked What did the really successful programmers do differently?. This response really caught my eye: Be ready, willing, & able to deep dive multiple levels at any time. You must know whats going on under the hood. There is a strong correlation between number of levels of deepness understood and programming prowess.
In this book Ill teach you these fundamentals using Ruby. Ill start with the fundamentals that are portable to any environment. Then Ill show you the beautiful abstractions that Ruby has layered on top of them. Learning this stuff doesnt just apply to Ruby, or any other language. Every modern programming language has support for networking. Every language has their own way of doing things. But all modern languages support the Berkeley Sockets API. Ruby is no exception. Theres certainly plenty of syntactic sugar, but below the sugar you can use the same Sockets API that you would in C, Java, Python, whatever. This is portable knowledge that will serve you for many years to come.
What youll learn: The steps in the lifecycle of servers and clients. The various ways that we can read and write data in Ruby, and when theyre appropriate. All the things you were never quite sure about: EOF, listen queues, TCPNODELAY, and tons more. The low level methods required for constructing sockets, as well as the syntactic sugar that Ruby provides. Known methods that will help you improve socket performance. Basics of SSL sockets. Should you write a lot of data at once or chunk it into smaller writes? Get comfortable with the socket programming API thats available in any modern programming language. More example code than you shake a stick at! A look at 6 different architecture patterns for building concurrency into your network programs. A closer look at a few different protocols: FTP and Redis. Multiplexing connections, non-blocking IO, socket timeouts, socket options, and more
————————————————————–
ترجمه ماشینی :
شرح کتاب آیا می دانید که سرور وب شما چگونه یک سوکت را باز می کند، به یک آدرس متصل می شود و یک اتصال را می پذیرد؟ من قبل از اینکه دانش کافی برای کشف و کشف این چیزها داشته باشم، برنامه نویسی وب زیادی انجام دادم. من میدانستم که توسعهدهندگان دیگر درک بهتری نسبت به من بر روی پشته کامل دارند، اما غواصی در اعماق زیر کاپوت یکی از چیزهایی است که واقعاً من را به توسعهدهنده بهتری تبدیل کرده است. من اخیراً یک موضوع عالی خواندم که میپرسید برنامهنویسان واقعاً موفق چه کار متفاوتی انجام میدهند؟ این پاسخ واقعاً توجه من را جلب کرد: آماده، مایل و قادر به غواصی در چندین سطح در هر زمان باشید. شما باید بدانید که در زیر کاپوت چه خبر است. بین تعداد سطوح عمق درک شده و مهارت برنامه نویسی همبستگی قوی وجود دارد. \ در این کتاب این اصول را با استفاده از روبی به شما آموزش خواهم داد. ابتدا با اصولی شروع می کنم که قابل حمل برای هر محیطی هستند. سپس انتزاعات زیبایی را که روبی در بالای آنها قرار داده است را به شما نشان خواهم داد. یادگیری این مطالب فقط برای روبی یا هر زبان دیگری صدق نمی کند. هر زبان برنامه نویسی مدرن از شبکه پشتیبانی می کند. هر زبانی روش خاص خود را برای انجام کارها دارد. اما همه زبان های مدرن از Berkeley Sockets API پشتیبانی می کنند. روبی نیز از این قاعده مستثنی نیست. مطمئناً مقدار زیادی قند نحوی وجود دارد، اما در زیر شکر میتوانید از همان Sockets API استفاده کنید که در C، Java، Python، هر چه که استفاده میکنید. این دانش قابل حملی است که برای سالهای طولانی در خدمت شما خواهد بود. آنچه یاد خواهید گرفت: مراحل چرخه عمر سرورها و مشتریان. روشهای مختلفی که میتوانیم دادهها را در Ruby بخوانیم و بنویسیم، و در مواقع مناسب. همه چیزهایی که هرگز در مورد آنها مطمئن نبودید: EOF، صف های گوش دادن، TCPNODELAY، و هزاران تن دیگر. روش های سطح پایین مورد نیاز برای ساخت سوکت ها و همچنین قند نحوی که روبی ارائه می دهد. روش های شناخته شده ای که به شما در بهبود عملکرد سوکت کمک می کند. اصول اولیه سوکت های SSL آیا باید داده های زیادی را به طور همزمان بنویسید یا آنها را به نوشته های کوچکتر تقسیم کنید؟ با API برنامه نویسی سوکت که در هر زبان برنامه نویسی مدرن موجود است، راحت باشید. کد نمونه بیشتر از آن است که یک چوب را در آن تکان دهید! نگاهی به 6 الگوی معماری مختلف برای ایجاد همزمانی در برنامه های شبکه شما. نگاهی دقیق تر به چند پروتکل مختلف: FTP و Redis. اتصالات چندگانه، IO غیر مسدود، وقفه های زمانی سوکت، گزینه های سوکت و موارد دیگر
tag : دانلود کتاب کار با سوکت های TCP , Download کار با سوکت های TCP , دانلود کار با سوکت های TCP , Download Working With TCP Sockets Book , کار با سوکت های TCP دانلود , buy کار با سوکت های TCP , خرید کتاب کار با سوکت های TCP , دانلود کتاب Working With TCP Sockets , کتاب Working With TCP Sockets , دانلود Working With TCP Sockets , خرید Working With TCP Sockets , خرید کتاب Working With TCP Sockets ,

نقد و بررسیها
هنوز بررسیای ثبت نشده است.