Technical Article

java socket 多线程网络传输多个文件

     由于需要研究了下用 java socket 传输文件,由于需要传输多个文件,因此,采用了多线程设计。客户端每个线程创建一个 socket 连接,每个 socket 连接负责传输一个文件,服务端的ServerSocket每次 accept 一个 socket 连接,创建一个线程用于接收客户端传来的文件。

1、服务端

介绍一种服务器缓存结构 --- 多级 Hash

       现在的服务器网络数据收发与存储没有不做缓存的。如果公司的重要数据存储在磁盘中,且数据接近静态但每天局有部更新而且也有大量访问,不做缓存不能发挥机器的高性能。

  • Desenvolvedores
  • Desenvolvedores Intel AppUp®
  • Estudantes
  • Linux*
  • Servidor
  • C/C++
  • Intermediário
  • Оптимизировали, оптимизировали, да не выоптимизировали!

    Оптимизация? Конечно, каждый сталкивался с данной задачей при разработке своих, сколь-нибудь значительных, требующих определённых вычислений, приложений. При этом способов оптимизировать код существует огромное множество, и, как следствие, различных путей сделать это в автоматическом режиме с помощью опций компилятора. Вот здесь и возникает проблема – как выбрать то, что нужно нам и не запутаться?

    O futuro da autenticação e das transações financeiras na Web (Part 1)

    Já está claro para mercado financeiro formado por bancos e meios de pagamento, que apenas ter conhecimento e fazer averiguação dos dados de compra enviados pelos usuários não é suficiente para a confirmação de transações monetárias. Mesmo com técnicas fortes como o uso de tokens e smartcards essas instituições continuam a ser desafiadas a vencer os cyber-ataques baseados em malware e cavalos de tróia. Assim, para evitar a assinatura cega, a busca de novos dispositivos externos aos computadores, tem sido até agora a única opção.

  • Desenvolvedores
  • Parceiros
  • Professores
  • Estudantes
  • Microsoft Windows* (XP, Vista, 7)
  • Microsoft Windows* 8
  • Cliente empresarial
  • Serviços de nuvem
  • Windows*
  • Principiante
  • Kit de desenvolvimento de software Intel® AMT
  • IPT
  • cyber security
  • OTP
  • two-factor authentication
  • Computação em nuvem
  • Serviços financeiros
  • Processadores Intel® Core™
  • Segurança
  • O futuro da autenticação e das transações financeiras na Web (Part 1)

    Já está claro para mercado financeiro formado por bancos e meios de pagamento, que apenas ter conhecimento e fazer averiguação dos dados de compra enviados pelos usuários não é suficiente para a confirmação de transações monetárias. Mesmo com técnicas fortes como o uso de tokens e smartcards essas instituições continuam a ser desafiadas a vencer os cyber-ataques baseados em malware e cavalos de tróia. Assim, para evitar a assinatura cega, a busca de novos dispositivos externos aos computadores, tem sido até agora a única opção.

    Title: “Intel® Xeon Phi™ coprocessor Power Management Part 2b: Package C-States, The Details”

    After gating the clocks of every one of the cores, what other techniques can you use to get even more power savings. Here’s a trivial and admittedly flippant example of what you could do: unplug the processor. You’d be using no power, though the disadvantages of pulling the power plug are pretty obvious. A better idea is to selectively shutdown the more global components of the processor in such a way that you can bring the processor back up to a fully functional state (i.e. C0) relatively quickly. Package C-States are just that, the progressive shutdown of additional circuitry to get even more savings. Since we have already shutdown the entire package’s circuitry associated with the cores, the remaining circuitry is necessarily common to all the cores, thus the name “package” C-states.

    Why is Cilk™ Plus not speeding up my program? (Part 1)

    In this article, I discuss some common performance pitfalls in Cilk™ Plus programs that prevent users from seeing speedups in their code, and describe some techniques for avoiding these pitfalls.
  • Desenvolvedores
  • Professores
  • Estudantes
  • C/C++
  • Intel® Cilk™ Plus
  • Cilk Plus
  • performance
  • Computação paralela
  • Thread
  • Late-initialization of frame descriptors in Cilk Plus/LLVM

    The Intel® Cilk™ Plus C/C++ language extensions support the expression of portable and efficient task and vector parallel programs. Cilk Plus/LLVM is an implementation of these extensions in the Clang frontend for LLVM. In this article we explain one of the optimizations that we have implemented in Cilk Plus/LLVM: late-initialization of frame descriptors[1]. With this explanation, we provide a view into how one of the Intel® Cilk™ keywords - cilk_spawn - is implemented under the hood.
  • Desenvolvedores
  • Professores
  • Estudantes
  • C/C++
  • Avançado
  • Intermediário
  • Intel® Cilk™ Plus
  • Cilk Plus
  • Páginas

    Assine o Technical Article