home.social

#clientserver — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #clientserver, aggregated by home.social.

fetched live
  1. If you were writing a small API for your hobby project with a single client and server, what would be your preferred authentication method? Just an access key that can be configured on the server and then basic auth?

    #SoftwareDevelopment #ClientServer

  2. Разбираемся с сетевым программированием на Rust

    Язык программирования Rust стал достаточно популярен благодаря своей надежности, безопасности и производительности. В рамках данной статьи мы не будем подробно обсуждать преимущества данного языка, так как на эту тему уже написано много статей. Вместо этого мы рассмотрим разработку простейшего сетевого приложения, работающего по принципу клиент-сервер. Те читатели, кто уже знаком с Rust могут пропустить следующий раздел и сразу перейти к рассмотрению сетевого приложения. Ну а тем, кто совсем не знаком с этим языком предлагается установить необходимые инструменты и ознакомиться с базовыми конструкциями Rust.

    habr.com/ru/companies/otus/art

    #rust #tcp #clientserver

  3. [Перевод] Руководство по межпроцессному взаимодействию (IPC) в Linux — Часть 3

    Представляю вашему вниманию третью (заключительную) часть перевода статьи A guide to inter-process communication in Linux . Первая часть перевода была посвящена общему введению в курс дела и механизму разделяемого хранилища (shared storage). Во второй части были рассмотрены механизмы каналов (именованных и неименованных) и очереди сообщений. В третьей части автор статьи ставит перед собой цель рассказать вам о сокетах и сигналах; подводит общие итоги по межпроцессному взаимодействию в Linux. Приятного чтения!

    habr.com/ru/articles/846608/

    #ipc #linux #c #socket #signal #clientserver #перевод

  4. A Bit of Security for Feb 22, 2024
    How we wrote the Client Server and Cooperative Processing research report – and why an LLM could never do it. Listen to this -
    youtu.be/aVx1HW2jDKc
    Let me know what you think in the comments below or at [email protected]
    #cybersecuritytips #LLMlimits #Clientserver #ntierapplications #BitofSec

  5. #feditips #fediverse #clientserver honestly I don’t like the default mastodon app, but I haven’t found anything that’s any better. Don’t like manny, don’t care for mammoth, but still gonna try it out

  6. 4 essential characteristics of successful APIs - For any external system/app to connect to a server system

    If you are building an application that uses some variation of a client/server model, you need an application programming interface (API). An API is a clearly defined boundary between one process and another. A common boundary in web applications is a REST/JSON API.
    An example of an API usage could be a police system that must verify if someone has a criminal record or not, for applying maybe for a liquor license business. Where paperwork was sent manually to the police to verify whether the liquor license applicant has a criminal record or not, could be replaced with an intersystem API call from the liquor licensing system, where the API receives an identity number, and only returns and true/false without exposing any personal details.
    But some important characteristics must be designed into that API for it to be sure and to function correctly.
    See 4 essential characteristics of successful APIs

    opensource.com/article/21/5/su squeet.me/objects/962c3e108de3

  7. Lately I find that the whole concept of #PeerToPeer vs #ClientServer models is kind of pointless. As long as the user controls their own data it doesn't matter how the system works.

    That said, I do see that the two models work better in different scenarios. For instance, #Mastodon is way better as a server based system since you can easily form communities on it. Whereas, #Scuttlebutt is better for staying connected to people even without Internet Access. Diversity is a competitive advantage.